from werkzeug.wrappers import Request, Response
import time

@Request.application
def application(request):
    time.sleep(1)
    return Response('Hello World!')

if __name__ == '__main__':
    from werkzeug.serving import run_simple
    run_simple('0.0.0.0', 9090, application)
